package asteroids.model.programs.zeroaryexpression;

import asteroids.model.SpaceObject;
import asteroids.model.programs.Program;
import exception.IllegalOperandException;

public class Self extends ZeroaryExpression<SpaceObject> {

	public Self() throws IllegalOperandException {
	}

	@Override
	public SpaceObject getValue(Program program) {
		return program.getShip();
	}
}
